#include "MainFrame/MenuBar/MenuListBase.h"


MenuListBase::MenuListBase(const QString &title, QWidget *parent):
        QMenu(title, parent)
{

}

MenuListBase::MenuListBase(QWidget *parent):
    QMenu(parent)
{

}

MenuListBase::~MenuListBase()
{

}

QAction *MenuListBase::addOneAction(const QString &strActionName, QMenu *pMenu)
{
    QAction* pAction = new QAction(strActionName, this);
    pMenu->addAction(pAction);
    return pAction;
}
